/*    */ package www.nomina.controller.bean.xml;
/*    */ 
/*    */ import common.tools.JaxbUtils;
/*    */ import java.util.Calendar;
/*    */ import javax.xml.bind.DatatypeConverter;
/*    */ import javax.xml.bind.annotation.adapters.XmlAdapter;
/*    */ 
/*    */ public class Adapter5 extends XmlAdapter<String, Calendar>
/*    */ {
/*    */   public Calendar unmarshal(String value)
/*    */   {
/* 11 */     return DatatypeConverter.parseDate(value);
/*    */   }
/*    */ 
/*    */   public String marshal(Calendar value) {
/* 15 */     if (value == null) {
/* 16 */       return null;
/*    */     }
/* 18 */     return JaxbUtils.printDateNoTZ(value);
/*    */   }
/*    */ }

/* Location:           /home/nastick/Diverza/TimbradoWSExample/lib/TimbradoCFDiGenerated.jar
 * Qualified Name:     org.w3._2001.xmlschema.Adapter5
 * JD-Core Version:    0.6.2
 */